package com.pushworld.p11.ui.help;

import java.awt.BorderLayout;
import java.awt.Container;
import java.awt.event.ActionEvent;

import cn.com.infostrategy.ui.common.AbstractWorkPanel;
import cn.com.infostrategy.ui.common.BillDialog;
import cn.com.infostrategy.ui.workflow.pbom.BillBomPanel;

public class WelcomeWKPanel extends AbstractWorkPanel {

	private static final long serialVersionUID = 1L;



	public WelcomeWKPanel() {
		showWelcome();
	}
	
	
	public void initialize() {
		BillDialog dialog = new BillDialog();
		BillBomPanel bomPanel = new BillBomPanel("welcome1");
		bomPanel.getNorthPanel().setVisible(false);
		Container body = dialog.getContentPane();
		body.setLayout(new BorderLayout());
		body.add(bomPanel, BorderLayout.NORTH);	

		
		dialog.setSize(1024, 680);
		dialog.setLocation(50,50);
		dialog.setVisible(true);
	}


	private void showWelcome() {	
		BillBomPanel bomPanel = new BillBomPanel("welcome1");
		bomPanel.setShowNorthPanel(false);
		//bomPanel.getNorthPanel().setVisible(false);
		this.add(bomPanel);
	}
}
